import axios from "./index.js";
// 获取登录接口
export function login(params){
    return   axios.post('/user/login',params)
}
//获取注册接口
export function reg(params){
    return   axios.post('/user/reg',params)
}
//获取短信 验证码接口
export function sendSms(params){
    return   axios.post('/user/sendSms',params)
}
export function getUserInfo(params){
    return   axios.post('/user/getuserInfo',params)
}
//修改用户信息
export function editUserInfo(params){
    return   axios.post('/user/editUserInfo',params)
}